<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path1 = request.getContextPath();
String basePath1 = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path1+"/";
%>
	<div class="navbar navbar-fixed-top">
		<div class="navbar navbar-fixed-top">
		<div class="navbar-inner"  style="color:white">
			<div class="container">
				<ul class="nav">
				  <li  style="margin-left:30px;margin-top:10px;font-size:16px"><a href="#">CRM管理系统</a></li>
				  
				  <li style="margin-left:80px;margin-top:9px;margin-right:20px">
					<div style="margin-top:2px"><a href="#home" class="btn" id = "addTask">添加日程</a>	</div>  
				  </li>
				   <li style="margin-top:9px;margin-right:20px">
					<div style="margin-top:2px"><a href="#home" class="btn">添加联系人</a>	</div>  
				  </li>
			      <li style="margin-top:10px">
					 <form id="searchForm" class="navbar-search pull-left" action="" >
					    	<input type="text" id="search" class="search-query span3" name="q" autocomplete="off" placeholder="搜索联系人或交易机会">					    	
					    </form>				  
				  </li>
				  <li class="divider-vertical"></li>
				  <li class="dropdown" id="menu1">
					<a class="dropdown-toggle" data-toggle="dropdown" href="#" style="margin-top:10px;font-size:14px;color:grey">
					个人信息设置
					  <b class="caret"></b>
					</a>
						<ul class="dropdown-menu" >
							<li><a href="#"><i class="icon-th"></i>新建用户</a></li>
						   <li><a href="#"><i class="icon-th"></i>修改个人信息</a></li>
						   <li><a href="#"><i class="icon-th"></i>添加分组</a></li>
						</ul>
			      </li>
			       <li class="divider-vertical"></li>
				    <li class="dropdown" id="menu1">
					<a href="<%=basePath1 %>exit.action" style="margin-top:10px;font-size:14px;color:grey">
					退出系统
					  <b class="caret"></b>
					</a>					
			      </li>
			   
				 
				</ul>
			</div>
		</div>
	</div>
	</div>
	<div class="box" id="box3"  style="display:none">
				        <div class="abox">
				            <div class="a1"></div>
				            <div class="a2"></div>
				            
				        </div>
				        <div style = "margin-left:15px;margin-top:15px;">
				        	
				            <strong>添加日程安排</strong><br/>
							<input type="text"  id="taskname"/><br/>
							 <strong>时间安排</strong><br/>
							 	<input type = "text" style ="display:none;width:140px" id = "settimeinput" />
								<select id = "selecttime" style = "width:150px">
												
												<option value="today">今天</option>
												<option value="tomorrow">明天</option>
												<option value="thisweek">这周</option>
												<option value="nextweek">下周</option>
												<option value="later">更晚</option>
												
											
									
								</select><a href="javaScript:;" id = "settimebtn" class = "ui-datepicker-trigger">设置时间</a><br/>
								
								 <strong>选择类别</strong><br/>
								<select style = "width:150px" id = "leibie"> 
												<option value="none">none</option>
												<c:forEach items="${taskTypeList}" var ="taskType">
													<option value="${taskType.id}">${taskType.typeContent }</option>
												</c:forEach>
												<option value=""><a href="javaScript:;" id="new">新建一个</a></option>
												
								</select><span><a href = "<%=basePath1%>task/taskType.action">编辑类别</a></span><br/>
								<div style = "border:1px solid #cdcdcc;width:200px;margin-top:10px;margin-bottom:5px;"></div>
								<span id="loading"></span>
								<button class = "btn btn-success" style = "margin-left:140px;margin-bottom:15px;" id="addNewTask">添加</button>
				          </div> 
				    </div>
	<div  id = "tishi" style = "display:none;font-size:24px;position:absolute;top:200px;left:600px;padding-top:20px;font-weight:bold;width:260px;height:55px;background-color:#222;border-radius:5px 5px;text-align:center;color:#fff;">
			 日程添加成功
	</div>
